package com.studies.mycenter.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 课程
 * </p>
 *
 * @author 研学活动后台
 * @since 2019-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CourseInfo对象", description="课程")
public class CourseInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "课程名称")
    @TableField("courseName")
    private String courseName;

    @ApiModelProperty(value = "课程时长")
    @TableField("courseDuration")
    private String courseDuration;

    @ApiModelProperty(value = "适合年级")
    @TableField("courseGrade")
    private String courseGrade;

    @ApiModelProperty(value = "可参加人数")
    @TableField("courseNum")
    private String courseNum;

    @ApiModelProperty(value = "课程类型")
    @TableField("courseType")
    private String courseType;

    @ApiModelProperty(value = "封面照片url地址")
    @TableField("coverPhotoUrl")
    private String coverPhotoUrl;

    @ApiModelProperty(value = "状态; 0无效,1有效")
    private Boolean status;

    @ApiModelProperty(value = "创建人user_id")
    private String creator;

    @ApiModelProperty(value = "创建时间")
    @TableField("createTime")
    private Date createTime;

    @ApiModelProperty(value = "修改人id")
    private String updator;

    @ApiModelProperty(value = "修改时间")
    @TableField("updateTime")
    private Date updateTime;

    @ApiModelProperty(value = "所属课程ID")
    @TableField("baseId")
    private Integer baseId;

    @ApiModelProperty(value = "详情")
    private String details;


}
